import request from '@/utils/request'

// 查询HttpClient日志列表
export function listHttpLog(query) {
  return request({
    url: '/system/httpLog/list',
    method: 'get',
    params: query
  })
}

// 查询HttpClient日志详细
export function getHttpLog(id) {
  return request({
    url: '/system/httpLog/' + id,
    method: 'get'
  })
}

// 新增HttpClient日志
export function addHttpLog(data) {
  return request({
    url: '/system/httpLog',
    method: 'post',
    data: data
  })
}

// 修改HttpClient日志
export function updateHttpLog(data) {
  return request({
    url: '/system/httpLog',
    method: 'put',
    data: data
  })
}

// 删除HttpClient日志
export function delHttpLog(id) {
  return request({
    url: '/system/httpLog/' + id,
    method: 'delete'
  })
}
